| 
	17
   | 
  
	  How do I enable or disable the control 
	
		
			
 
 
with thisform.ExMenu1
	.Enabled = .F.
	.Items.Add("Item 1")
	.Refresh
endwith
			 
		 
	 
   | 
  | 
	16
   | 
  
	  How do I refresh the control 
	
		
			
with thisform.ExMenu1
	.Items.Add("Item 1")
	.Refresh
endwith
			 
		 
	 
   | 
  | 
	15
   | 
  
	  How do I change the color to highligth the selected item 
	
		
			
 
 
with thisform.ExMenu1
	.HighLightBorderColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	14
   | 
  
	  How do I change the drop down, popup menu foreground color 
	
		
			
 
 
with thisform.ExMenu1
	.PopupForeColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	13
   | 
  
	  How do I change the drop down, popup menu background color 
	
		
			
 
 
with thisform.ExMenu1
	.PopupBackColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	12
   | 
  
	  How do I change the control's shadow color 
	
		
			
 
 
with thisform.ExMenu1
	.ShadowColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	11
   | 
  
	  How do I place the control on vertical 
	
		
			
 
 
with thisform.ExMenu1
	.OpenMode = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	10
   | 
  
	  How do I change the control's appearance 
	
		
			
with thisform.ExMenu1
	.Appearance = 2
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	9
   | 
  
	  How do I change the control's appearance 
	
		
			
 
 
with thisform.ExMenu1
	.Appearance = 0
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	8
   | 
  
	  How do I change the visual appearance effect for the selected item, using EBN 
	
		
			
 
 
with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.SelBackColor = 0x1000000
	.SelForeColor = RGB(0,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	7
   | 
  
	  How do I change the colors for the selected item 
	
		
			
 
 
with thisform.ExMenu1
	.SelBackColor = RGB(0,0,0)
	.SelForeColor = RGB(255,255,255)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	6
   | 
  
	  How do I change the control's foreground color 
	
		
			
 
 
with thisform.ExMenu1
	.ForeColor = RGB(255,0,0)
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	5
   | 
  
	  How do I change the control's background color 
	
		
			
 
 
with thisform.ExMenu1
	.BackColor = RGB(200,200,200)
endwith
 
			 
		 
	 
   | 
  | 
	4
   | 
  
	  How can I change the control's font 
	
		
			
 
 
with thisform.ExMenu1
	.Font.Name = "Tahoma"
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	3
   | 
  
	  How do I change the drop down menu's border 
	
		
			
 
 
with thisform.ExMenu1
	.Border = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	2
   | 
  
	  How do I change the control's border, using your EBN files 
	
		
			
 
 
with thisform.ExMenu1
	.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
	.MenuBarBorder = 16777216 && 0x1000000
	.Border = 16777216 && 0x1000000
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   | 
  | 
	1
   | 
  
	  How do I change the control's border 
	
		
			
 
 
with thisform.ExMenu1
	.MenuBarBorder = 1
	var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2"
	var_s = var_s + "[id=80])"
	.Items.ToString = var_s
endwith
 
			 
		 
	 
   |